<?php /* Smarty version Smarty-3.0.8, created on 2011-09-05 15:35:16
         compiled from "./templates/tattoo\header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:62014e64de2482fce8-45846976%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '57da0ff8231d75167563f078f80358b31b7ff3fc' => 
    array (
      0 => './templates/tattoo\\header.tpl',
      1 => 1315233243,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '62014e64de2482fce8-45846976',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Tattoo Portal.org</title>
        <link type="text/css" href="<?php echo $_smarty_tpl->getVariable('styles_dir')->value;?>
/main.css" rel="stylesheet"/>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/jquery.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/jquery.cookie.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/ui_related.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/news_slider.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/init.js"></script>
        <?php if ($_smarty_tpl->getVariable('currentPage')->value=="galerija_single"){?>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/pixastic.desatruate.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/jquery.imgareaselect.min.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/image_gallery.js"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                $('#<?php echo $_smarty_tpl->getVariable('single_photo')->value['id'];?>
').click();
            });
        </script>
        <?php }?>
        <?php if ($_smarty_tpl->getVariable('currentPage')->value=="magazin_single"){?>
        <script type="text/javascript">var switchTo5x=false;</script>
        <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
            
        <script type="text/javascript">stLight.options({publisher:'015c2aa6-ee60-4bb9-9459-ebfe9692bd07'});</script>
            
         <?php }?>
         <?php if ($_smarty_tpl->getVariable('currentPage')->value=="nalog"){?>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/my_account.js"></script>
         <?php }?>
         <?php if ($_smarty_tpl->getVariable('currentPage')->value=="pocetna"){?>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/jquery.scrollTo-1.4.2-min.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/jquery.serialScroll-1.2.2-min.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/init_pocetna.js"></script>
         <?php }?>
         <?php if ($_smarty_tpl->getVariable('currentPage')->value=="magazin_admin"){?>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/tiny_mce/tiny_mce.js"></script>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/tiny_mce/basic_config.js"></script>
         <?php }?>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/jquery.validate.js"></script>
        <?php if ($_smarty_tpl->getVariable('currentPage')->value=="registracija"){?>
        <script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('scripts_dir')->value;?>
/init_registracija.js"></script>
        <?php }else{ ?>
        <script type="text/javascript">
            
             $(document).ready(function(){
               $("form").validate();
             });
             
        </script>
        <?php }?>
        
    </head>
    <body>
        <div class="wrapper">
            <div class="header">
                <h1><a href="<?php echo $_smarty_tpl->getVariable('root_dir')->value;?>
/">Tattoo Portal.org</a></h1>
                <div id="account_box">
                    <?php if ($_smarty_tpl->getVariable('userIsLogged')->value){?>
                    <div id="logged">
                        <p>Prijavljeni ste kao <a href="<?php echo $_smarty_tpl->getVariable('root_dir')->value;?>
/nalog/" title="Moj nalog"><?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
</a> | <?php echo $_smarty_tpl->getVariable('logoutLink')->value;?>
</p>
                        <p>Fotografija:<?php echo $_smarty_tpl->getVariable('user')->value['broj_fotografija'];?>
 | Komentara: <?php echo $_smarty_tpl->getVariable('user')->value['broj_komentara'];?>
 | Likes: <?php echo $_smarty_tpl->getVariable('user')->value['broj_skljoceva'];?>
 | <a href="<?php echo $_smarty_tpl->getVariable('porukeLink')->value;?>
">Poruke: <?php echo $_smarty_tpl->getVariable('poruke')->value;?>
</a></p>
                    </div>
                    <?php }else{ ?>
                    <?php echo $_smarty_tpl->getVariable('loginbox')->value;?>

                    <?php }?>
                </div>

                <ul id="main_menu">
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=pocetna">Početna</a></li>
                    <li>
                        <a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=colour&ipp=24">Galerija</a>
                        <ul class="submenu">
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=colour&ipp=24">Colour</a></li>
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=black%20and%20gray&ipp=24">Black &amp; Gray</a></li>
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=cover%20up&ipp=24">Cover Up</a></li>
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=piercing&ipp=24">Piercing</a></li>
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=flash&ipp=24">Flash</a></li>
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija&tip_galerije=personal&ipp=24">Personal</a></li>
                        </ul>
                    </li>
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=clanovi&ipp=10">Članovi</a></li>
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=forum">Forum</a></li>
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=magazin&ipp=3">Magazin</a>
                    <?php if ($_smarty_tpl->getVariable('userIsAdmin')->value){?>
                        <ul class="submenu">
                            <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=magazin_admin">Admin</a></li>
                        </ul>
                    <?php }?>
                    </li>

                    <?php if ($_smarty_tpl->getVariable('userIsLogged')->value){?>
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=nalog&ipp=18">Moj Nalog</a></li>
                    <?php }else{ ?>
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=registracija">Registracija</a></li>
                    <?php }?>

                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=video">Video</a></li>
                    <li><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=o_nama">O Nama</a></li>
                    <li class="social"><a id="contact" href="#" title="Kontaktirajte nas">Kontakt</a></li>
                    <!--<li class="social"><a id="youtube" href="#" title="Pratite naš YouTube kanal" target="_blank">YouTube</a></li>-->
                    <li class="social"><a id="myspace" href="#" title="Pogledajte našu My Space stranicu" target="_blank">My Space</a></li>
                    <li class="social"><a id="twitter" href="#" title="Pogledajte našu Facebook stranicu" target="_blank">Twitter</a></li>
                    <li class="social"><a id="facebook" href="#" title="Pratite nas na Twitter-u" target="_blank">Facebook</a></li>
                </ul>
            </div>